package com.guan.ordering_sys.generator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 关远键
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Table对象", description="")
public class Table implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "餐桌编号")
    @TableId(value = "table_id", type = IdType.AUTO)
    private Integer tableId;

    @ApiModelProperty(value = "餐桌名称")
    private String tableName;

    @ApiModelProperty(value = "餐桌二维码")
    private String qrcode;

    @ApiModelProperty(value = "是否已使用，0没有1用餐中2已预订")
    private String tableStatus;

    @ApiModelProperty(value = "是否可以拼桌，0可以1不可以")
    private String tableType;

    @ApiModelProperty(value = "说明")
    private String explain;


}
